package com.wzqj.agent.web.domain;

import java.util.Date;

/**
 * 业务员表
 * @author gz
 *
 */
public class Sales {

	/**
	 * 主键
	 */
	private Integer id;
	/**
	 * 业务员姓名
	 */
	private String name;
	/**
	 * 手机号码
	 */
	private String phone;
	/**
	 * 头像
	 */
	private String headingUrl;
	/**
	 * 职位
	 */
	private String job;
	/**
	 * 工号
	 */
	private String jobNum;
	/**
	 * 父级ID
	 */
	private Integer parentId;//0:超级管理员的直属业务员  其他1~~：父级代理商ID
	/**
	 * 用户状态
	 */
	private Integer status;//1:正常 0 ：冻结
	/**
	 * 创建时间
	 */
	private long createTime =  new Date().getTime();

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * @return the headingUrl
	 */
	public String getHeadingUrl() {
		return headingUrl;
	}

	/**
	 * @param headingUrl the headingUrl to set
	 */
	public void setHeadingUrl(String headingUrl) {
		this.headingUrl = headingUrl;
	}

	/**
	 * @return the job
	 */
	public String getJob() {
		return job;
	}

	/**
	 * @param job the job to set
	 */
	public void setJob(String job) {
		this.job = job;
	}

	/**
	 * @return the jobNum
	 */
	public String getJobNum() {
		return jobNum;
	}

	/**
	 * @param jobNum the jobNum to set
	 */
	public void setJobNum(String jobNum) {
		this.jobNum = jobNum;
	}

	/**
	 * @return the parentId
	 */
	public Integer getParentId() {
		return parentId;
	}

	/**
	 * @param parentId the parentId to set
	 */
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	/**
	 * @return the createTime
	 */
	public long getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the Status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	
}
